package controller;

import view.GenericView;
import view.ResultadosView;

public class ResultadosController  implements GenericController {
	
	private StartController parentController;

	public ResultadosController(StartController startController) {
		this.parentController = startController;
	}

	public void handleButtonCancelar() {
		getView().hideWindow();
		this.parentController.getView().showWindow();
	}

	@Override
	public GenericView getView() {
		return ResultadosView.getInstance();
	}

	@Override
	public GenericController getParentController() {
		return parentController;
	}

}
